package FrameWork.Executor;

public class EventLoopThread extends Thread {

    private EventLoop eventLoop;
    private EventLoopGroup eventLoopGroup;

    EventLoopThread(Runnable r,String name){
        super(r,name);
    }

    void setEventLoop(EventLoop loop){
        this.eventLoop = loop;
    }

    void setEventLoopGroup(EventLoopGroup group){
        this.eventLoopGroup = group;
    }

    public EventLoopGroup getEventLoopGroup(){
        return eventLoopGroup;
    }

    public EventLoop getEventLoop(){
        return eventLoop;
    }



}
